package com.eastjet.maintenance.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.eastjet.maintenance.domain.DeviceAudits;
import com.eastjet.maintenance.mapper.DeviceAuditsMapper;
import com.eastjet.maintenance.service.DeviceAuditsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 杨博文
 * @description 针对表【device_audits(审核管理表
 * )】的数据库操作Service实现
 * @createDate 2024-11-25 09:23:37
 */
@Service
public class DeviceAuditsServiceImpl extends ServiceImpl<DeviceAuditsMapper, DeviceAudits> implements DeviceAuditsService {

    /*
     * 新增审核记录
     */
    @Override
    public Boolean InsertAudits(DeviceAudits deviceAudits) {
        return this.save(deviceAudits);
    }

    /*
    查询事由审核记录
     */
    @Override
    public List<DeviceAudits> SelectList() {
        return this.list(null);
    }
}




